package com.muh.operation;

import com.muh.entity.Employee;
import org.springframework.data.domain.PageImpl;

import java.util.Map;

public interface EmployeeOperationService {

    /**
     * 分页 + 高亮
     * @param address
     * @param pageNumber
     * @param pageSize
     * @return
     */
    PageImpl<Employee> findPageHighlightByAddress(String address, int pageNumber, int pageSize);

    /**
     * 聚合查询
     * @param address
     * @return
     */
    Map<String, Object> getEmployeeStatistics(String address);
}
